#ifndef __WireBoundingBox_H__
#define __WireBoundingBox_H__

#include "d3dheaders.h"
#include "video/AxisAlignedBox.h"
#include "video/Array.h"
#include "defines.h"
#include "video/Renderable.h"

namespace KEngine
{

class WireBoundingBox : public Renderable
{
public:
	struct VERTEX
	{
		float			x, y, z;
		unsigned long	color;
		
		static const unsigned long FVF = D3DFVF_XYZ | D3DFVF_DIFFUSE;
	};

public:
	WireBoundingBox();
	virtual ~WireBoundingBox();

	void setBoundingBoxColor(ColorValue color);
	void setupBoundingBoxVertices(const AxisAlignedBox& aab);
	virtual void render(Camera* camera, TimeValue t);

protected:
	Array<VERTEX>		mVertices;
	ColorValue			mColor;
};

}
#endif 